<?php if (!defined('THINK_PATH')) exit();?><!-- 
	
	作者：怼烎
	QQ：1395961821
	时间：2017.10.10

 -->

<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>微信商城</title>

  <!-- 手机状态下禁止缩放 -->
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  <link rel="stylesheet" href="/Public/Moble_home/css/bootstrap.min.css" type="text/css">
  <link rel="stylesheet" type="text/css" href="/Public/Moble_home/css/bootstrap-theme.min.css">
  <link rel="stylesheet" type="text/css" href="/Public/Moble_home/css/addman.css">
  <style>
  	a:active{
  		text-decoration:none;
  	}
  </style>
 	<!--[if lt IE 9]>
      <script src="js/html5shiv.min.js"></script>
      <script src="js/respond.min.js"></script>
    <![endif]-->
</head>
<body>


<form method="post" action="">
	<nav class="navbar navbar-default navbar-fixed-top">
	    <div class="container-fluid">
	      <!-- 栅格 -->
	      <div class="navbar-header row">
	        <div  class="text-center col-xs-12">
	          <div class="col-xs-2">
	              <a onclick="window.history.back()" class="pull-left">
	                <div class="glyphicon glyphicon-menu-left"></div>
	              </a>
	            </div>
	            <div class="col-xs-8">地址管理</div>
	            <div class="col-xs-2">
	              <div class="pull-right">
	                <a href="javascript:void(0);" id="point" class="dropdown-toggle" data-toggle="dropdown"><div class="text-center"><div class="glyphicon glyphicon-option-horizontal"></div></div></a>
	                        <ul class="dropdown-menu" aria-labelledby="point">
	                  <li><a href="/index.php/Home/Index/index"><span class="glyphicon glyphicon-home"></span>&nbsp;&nbsp;首页</a></li>
	                  <li role="separator" class="divider"></li>
	                  <li><a href="/index.php/Home/Cart/add_cart"><span class="glyphicon glyphicon-shopping-cart text-center"></span>&nbsp;&nbsp;购物车</a></li><li role="separator" class="divider"></li>
	                  <li><a href="#"><span class="glyphicon glyphicon-share-alt"></span>&nbsp;&nbsp;分享</a></li>
	                </ul>
	              </div>
	            </div>
	        </div>
	      </div>
	      </div>
	    </div><!-- /.container-fluid -->
	  </nav>

	  <section>
	  	<menu class="list-unstyled">
	  		<?php if(is_array($address_arr)): $i = 0; $__LIST__ = $address_arr;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$value): $mod = ($i % 2 );++$i;?><li> 
				<div class="radio">
				  <label>
				  	<input type="radio" name="address" class="address" value="address1" />
				    <i class="i"></i>
				    <a href="/index.php/Home/Order/order/id/1/address_id/<?php echo ($value['address_id']); ?>" style="color:#000;" class="order_href">
				    <div>
				    	<span><?php echo ($value['consignee']); ?></span>
				    	<span class="pull-right">电话:<?php echo ($value['mobile']); ?></span>
				    	<p><?php echo ($value['province']); ?>,<?php echo ($value['city']); ?>,<?php echo ($value['district']); ?>,<?php echo ($value['twon']); ?>,<?php echo ($value['address']); ?></p>
				    </div> 
				    </a>
				  </label>
				  <div class="pull-right">
				  	<a href="javascript:;">&nbsp;</a>
				  	<a href="/index.php/Home/User/del_address/id/<?php echo ($value['address_id']); ?>" class="del">删除</a>
				  </div>
				</div>
	  		</li><?php endforeach; endif; else: echo "" ;endif; ?>
	  	</menu>
	  </section>

	  <footer>
	  	<a href="/index.php/Home/User/add_address">添加新地址</a>
	  </footer>

</form>
  <script src="/Public/Moble_home/js/jquery.min.js" type="text/javascript"></script>
  <script src="/Public/Moble_home/js/bootstrap.min.js" type="text/javascript"></script>
  <script src="/Public/Moble_home/js/layer.js" type="text/javascript"></script>
  <script src="/Public/Moble_home/js/addman.js" type="text/javascript"></script>
</body>
</html>